package com.example.java8.feature_06;

import java.util.Arrays;
import java.util.Map;

public class TestForeach {


    public static void main(String[] args){

        Arrays.asList("帝王神龟", "珠圆玉润", "铁爪鬼王", "边疆铁犀", "钢化巨灵")
                .forEach(obj -> System.out.println(obj));

    }

}
